package com.qijian.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 流程流程规则对象 t_flowable_rule
 *
 * @author qijian
 * @date 2021-09-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_rule")
public class FlowableRule extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long ruleId;

    /** 表单key */
    @Excel(name = "表单key")
    @ApiModelProperty(value = "表单key")
    private String formKey;

    /** 流程ID */
    @Excel(name = "流程ID")
    @ApiModelProperty(value = "流程ID")
    private String processId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String ruleName;

    /** 判断 */
    @Excel(name = "判断")
    @ApiModelProperty(value = "判断")
    private String ruleJudge;

    /** 条件 */
    @Excel(name = "条件")
    @ApiModelProperty(value = "条件")
    private String ruleCondition;

}
